package MyGO.property;

import MyGO.utils.enumerastion.Department;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CheckPro {
    private String id;
    private String name;
    private String specific;  // 检查规格
    private Double price;  //  单价
    private String priceStr;
    private Department department;

    public CheckPro(String id, String name, String specific, Double price, Department department) {
        this.id = id;
        this.name = name;
        this.specific = specific;
        this.price = price;
        this.priceStr = String.valueOf(price);
        this.department = department;
    }
}
